package com.wj.book.service;

import com.wj.book.mapper.UserInfoMapper;
import com.wj.book.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
     @Autowired
     private UserInfoMapper userInfoMapper;
     public UserInfo queryByName(String userName){
         return userInfoMapper.queryByName(userName);
     }
}